<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" href="unlock.css">
</head>
<body>
	<script src="http://cdn.bootcss.com/jquery/1.9.0/jquery.min.js"></script>
	<div id = "foo">123</div> 
	<script type="text/javascript" src="unlock.js"></script>
	<script type="text/javascript">
		var $container = $('#foo');
		$container.slideToUnlock({
			height :50,
			width:200,
			text:'未解锁',
			succText:'解锁成功'
		});
	</script>
</body>
</html>